package com.server.modules.api.utils;

/**
 * Constants
 * 
 * @author Lynch 2014-09-15
 *
 */
public class Constants {

	// API_HTTP_SCHEMA
	public static String API_HTTP_SCHEMA = "https";
	// API_SERVER_HOST
	public static String API_SERVER_HOST = "a1.easemob.com";
	// APPKEY
	public static String APPKEY = "kmxbwkj#daidai888";
	// APP_CLIENT_ID
	public static String APP_CLIENT_ID = "YXA6UqC1oGK3EeavTH1Rs8JwOw";
	// APP_CLIENT_SECRET
	public static String APP_CLIENT_SECRET = "YXA64l5ZyAtZGIz9Xyn4Qza1FcMMg4o";
	// DEFAULT_PASSWORD
	public static String DEFAULT_PASSWORD = "123456";


	public static final int incompleteData = -1;//参数不全
	public static final int ok = 0;
	//用户名密码错
	public static final int errUserNameorPassword = 1;
	//登陆失效
	public static final int errLogin  = 2; //登陆已失效
	//未查询到用户信息
	public static final int notFoutUser = 3; //未查询到该用户
	public static final int notFoundFile = 4; //没有发现文件
	public static final int saveError = 5; //保存失败
	public static final int isFrined = 6;//已经是好友
	public static final int addFriendFailse = 7;
	public static final int isNotFrined = 8;//已经是好友
	public static final int notFound = 9;//没有找到数据
	public static final int materalTypeNotFound = 10;//资料类型不存在

	public static final int payWrong = 11;//你太土豪了，这笔钱不应该由你来支付
	public static final int payWrongSerivceCharge = 12;//手续费还没有计算出来
	public static final int notEqualSerivceCharge = 13;//需要支付的手续费金额有误
	public static final int unKnowError = -1000;//需要支付的手续费金额有
	public static final int bindWxError = 14;//绑定微信失败，该微信已绑定其他账户
	public static final int bindBankCardError = 15;//该用户已绑定给过银行卡，如需重新绑定请先解绑
	public static final int bindBankCardError2 = 16;//该银行卡已绑定改到其他账户
	public static final int blankTags = 17;//至少需要保留一条用户标签
	public static String headImageType = "1";
	public static final int customPayError = 18;//申请单状态错误

}
